package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.dto.QueryPage;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingProjectMapper
 * @Author fy
 * @Date 2025-05-07  20:13
 */
@Mapper
public interface NursingProjectMapper {
    /**
     * 分页条件查询护理项目
     * @param
     * @return
     */

    Page<NursingProject> selectByPage(String name, Integer status);

    /**
     * 添加护理项目
     * @param nursingProject
     */
    void addNursingProject(NursingProject nursingProject);

    NursingProject getNursingProjectById(Long id);

    void updateNursingProject(NursingProject nursingProject);

    void deleteNursingProject(Long id);

    List<NursingProject> getAllNursingProject();

}
